﻿using EventBus;
using System;
using System.Collections.Generic;
using System.Text;

namespace Order.Domain.Events
{
    /// <summary>
    /// Order created domain event.
    /// </summary>
    public class OrderCreatedDomainEvent
        :BaseEvent
    {
        public OrderCreatedDomainEvent(Guid orderId,
            Guid dealerId,
            decimal pv,
            decimal amount)
        {
            OrderId = orderId;
            DealerId = dealerId;
            OrderPV = pv;
            OrderAmount = amount;
        }
        public Guid OrderId { get; set; }
        public Guid DealerId { get; set; }
        public decimal OrderPV { get; set; }
        public decimal OrderAmount { get; set; }
    }
}
